package com.benefm.multipar.pad.util.filter;

public class EcgDataContext {
    /************ 导联编码定义  *************/
    public static final int LEAD_I = 0;
    public static final int LEAD_II = 1;
    public static final int LEAD_III = 2;
    public static final int LEAD_aVR = 3;
    public static final int LEAD_aVL = 4;
    public static final int LEAD_aVF = 5;
    public static final int LEAD_V1 = 6;
    public static final int LEAD_V2 = 7;
    public static final int LEAD_V3 = 8;
    public static final int LEAD_V4 = 9;
    public static final int LEAD_V5 = 10;
    public static final int LEAD_V6 = 11;
    public static final int LEAD_V7 = 12;
    public static final int LEAD_V8 = 13;
    public static final int LEAD_V9 = 14;
    public static final int LEAD_V3R = 15;
    public static final int LEAD_V4R = 16;
    public static final int LEAD_V5R = 17;
    public static final int LEAD_Pacer = 18;
    public static final int LEAD_CR = 19;
    public static final int LEAD_AR = 20;

    public static final int LEAD_GYRO_AX = 40; // 陀螺仪X轴加速度
    public static final int LEAD_GYRO_AY = 41;      // 陀螺仪Y轴加速度
    public static final int LEAD_GYRO_AZ = 42;      // 陀螺仪Z轴加速度
    public static final int LEAD_GYRO_WX = 43;     // 陀螺仪X轴角速度
    public static final int LEAD_GYRO_WY = 44;      // 陀螺仪Y轴角速度
    public static final int LEAD_GYRO_WZ = 45;      // 陀螺仪Z轴角速度
    public static final int LEAD_GYRO_ROLL = 46;    // 陀螺仪X轴角度
    public static final int LEAD_GYRO_PITCH = 47;  // 陀螺仪Y轴角度
    public static final int LEAD_GYRO_YAW = 48;     // 陀螺仪Z轴角度
    public static final int LEAD_LEAD_MS = 49;           // 运动状态

    public static final int MAX_ECG_LEAD = 50;


    /************ 电极  *************/
    public static final int MAX_LEAD_PAD = 10;


    /*******************  起搏器  **********************/
    private final static float DATA_ECG_PACER_PLUS_PP = (float) 0.3;	
    private final static float DATA_PACER_PLUS_PP = (float) 0.5;		
    private final static int VOLTAGE_PP_1MV = (207);
    public final  static short ECG_PACER_PLUS_PP = (short) (VOLTAGE_PP_1MV*DATA_ECG_PACER_PLUS_PP);
    public final  static short PACER_PLUS_PP = (short) (VOLTAGE_PP_1MV*DATA_PACER_PLUS_PP);
    public final static short   PACER_PLUS_MARK = ECG_PACER_PLUS_PP;	
    public final static short   FAKE_PACER_PLUS_MARK = PACER_PLUS_MARK/2;	
}
